/*
 * This source code is part of TWaver 4.0
 *
 * Serva Software PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 * Copyright 2002 - 2011 Serva Software. All rights reserved.
 */

package demo.network.topo.performance;

import java.awt.BorderLayout;
import java.awt.Color;

import twaver.TDataBox;
import twaver.TWaverConst;
import twaver.network.TNetwork;
import demo.DemoPane;

public class PerformanceDemo extends DemoPane {
    private TDataBox box = new TDataBox();
    private TNetwork network = new TNetwork(box);

    public PerformanceDemo() {
        this.setSize(800, 600);
        network.setToolbarByName(TWaverConst.DEFAULT_TOOLBAR);
        this.add(network, BorderLayout.CENTER);
        this.add(new OperationPane(box), BorderLayout.EAST);
        network.setColorBackground(Color.BLACK);
    }
}